package com.pswv2.bub.bsc.dao.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

import com.pswv2.core.PO;


@Entity
@Table
public class Authentication extends PO {
	public static final Integer reject = 2;
	public static final Integer pass = 1;
	public static final Integer wait = 0;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(unique = true, nullable = false)
	private Integer authenticationId;	//
	private Integer userId;				//用户名
	@Lob
	private String IDCard;				//身份证
	@Lob
	private String MePicture;			//头像	
	@Lob	
	private String educational;			//学历证
	
	private Integer status;				//0带审核//1审核通过

	@Override
	public Serializable getId() {
		return authenticationId;
	}
	
	public String getEducational() {
		return educational;
	}

	public void setEducational(String educational) {
		this.educational = educational;
	}


	public Integer getAuthenticationId() {
		return authenticationId;
	}

	public void setAuthenticationId(Integer authenticationId) {
		this.authenticationId = authenticationId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getIDCard() {
		return IDCard;
	}

	public void setIDCard(String iDCard) {
		IDCard = iDCard;
	}

	public String getMePicture() {
		return MePicture;
	}

	public void setMePicture(String mePicture) {
		MePicture = mePicture;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
}
